<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/HR_0002/style.css" /> 
<sj:head />
</head>
<body>
 <div id="main">
 <br>
  <font color="#FF0000">本页集 添加/修改应聘者 于一体</font><br>
  <form action="inviteJob!saveInvite" method="post">
    <input type="hidden" name="id" value="<s:property value="inviteJob.id" />" /><br>
	<s:if test="%{inviteJob!=null}">
	   ID <input type="text" name="inviteJob.id" value="<s:property value="inviteJob.id" />" /><br>
	</s:if>
    <s:textfield name="inviteJob.name" value="%{inviteJob.name}" label="姓名"/><br>
    <s:textfield name="inviteJob.sex"  value="%{inviteJob.sex}" label="性别"/><br>
    <s:if test="%{null!=inviteJob}">
        <s:textfield name="hh" value="%{inviteJob.age}" label="年龄"/><br>
    </s:if>
   出生日期 <sj:datepicker value="%{inviteJob.birthday}" displayFormat="yy-mm-dd" yearRange="1990:2012"  changeYear="true" changeMonth="true"  name="inviteJob.birthday" /><br>
   
    <s:if test="%{inviteJob!=null}">
      <s:textfield name="inviteJob.position" value="%{inviteJob.position}" label="应聘职位"/><br>
    </s:if>
    <s:else>
      <s:select list="#{'1':'经理','2':'程序员'}" label="应聘职位" name="inviteJob.position"/><br>
    </s:else>
    <s:textfield name="inviteJob.profession" value="%{inviteJob.profession}" label="所学专业"/><br>
    <s:textarea name="inviteJob.experience" value="%{inviteJob.experience}" label="工作经验"/><br>
    <s:textfield name="inviteJob.education" value="%{inviteJob.education}" label="教育程度"/><br>
    <s:textfield name="inviteJob.graduatedsSchool" value="%{inviteJob.graduatedsSchool}" label="毕业学校"/><br>
    <s:textfield name="inviteJob.telphone" value="%{inviteJob.telphone}" label="电话号码"/><br>
    <s:textarea  name="inviteJob.address" value="%{inviteJob.address}" label="住址"></s:textarea><br>
    <s:if test="%{inviteJob!=null}">
       <s:textfield name="inviteJob.registTime" value="%{inviteJob.registTime}" label="申请时间"/><br>
    </s:if>
    <s:textfield name="inviteJob.remark" value="%{inviteJob.remark}" label="备注"/><br>
    <s:textfield name="inviteJob.isEmploied" value="%{inviteJob.isEmploied}" size="5" label="是否录用"/><br>
    <s:if test="%{inviteJob!=null}">
        <input type="submit" value="更新"/><br>
    </s:if>
    <s:else>
        <input type="submit" value="保存"/><br>
    </s:else>
 </form>
 <s:debug></s:debug>
 </div>
</body>
</html>